home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
13288
/
13288.xpi
/
content
/
preference.xul
< prev
next >
Wrap
Extensible Markup Language
|
2010-01-21
|
28KB
|
535 lines
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<?xml-stylesheet href="chrome://global/skin/notification.css" type="text/css"?>
<?xml-stylesheet href="chrome://supertabmode/skin/prefs.css" type="text/css"?>
<!DOCTYPE prefwindow SYSTEM "chrome://supertabmode/locale/preference.dtd">
<prefwindow id="stm.prefwindow"
title="&prefwindow.title;"
buttons="accept,cancel,extra2"
buttonlabelextra2="&prefwindow.reset;"
ondialogextra2="stmPref.onReset();"
onload="stmPref.onLoad();"
ondialogaccept="stmPref.onOK();"
ondialogcancel="stmPref.setPane1SelectedTab();"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="preference.js" />
<script type="application/x-javascript" src="common.js" />
<stringbundleset>
<stringbundle id="stm.prefstringmanager" src="chrome://supertabmode/locale/stm.properties" />
</stringbundleset>
<broadcasterset>
<broadcaster id="b.pagelock.enable"/>
<broadcaster id="b.block.enable"/>
<broadcaster id="b.bosskey.enable"/>
<broadcaster id="b.cachedisk.enable"/>
</broadcasterset>
<prefpane id="pane1"
label="&pane1.title;"
image="chrome://supertabmode/skin/pref24_1.png">
<preferences>
<preference id="p.openURLBarInNewTab" name="extensions.stm.openURLBarInNewTab" type="bool"/>
<preference id="p.openBHSInNewTab" name="extensions.stm.openBHSInNewTab" type="bool" onchange="stmPref.syncOpenBHSInNewTab();"/>
<preference id="p.openInBlankTab" name="extensions.stm.openInBlankTab" type="bool"/>
<preference id="p.browser.tabs.loadBookmarksInBackground" name="browser.tabs.loadBookmarksInBackground" type="bool"/>
<preference id="p.doubleClickRemoveTab" name="extensions.stm.doubleClickRemoveTab" type="bool"/>
<preference id="p.showCloseRightTabs" name="extensions.stm.showCloseRightTabs" type="bool"/>
<preference id="p.showCloseLeftTabs" name="extensions.stm.showCloseLeftTabs" type="bool"/>
<preference id="p.newTabPosition" name="extensions.stm.newTabPosition" type="int"/>
<preference id="p.newTabPosBackTabOnly" name="extensions.stm.newTabPosBackTabOnly" type="bool"/>
<preference id="p.tabBarPosition" name="extensions.stm.tabBarPosition" type="int"/>
<preference id="p.newTabBtnPos" name="extensions.stm.newTabBtnPos" type="int"/>
<preference id="p.tabBarMultiRows" name="extensions.stm.tabBarMultiRows" type="bool"/>
<preference id="p.tabBarTabMinWidth" name="browser.tabs.tabMinWidth" type="int"/>
<preference id="p.browser.tabs.closeWindowWithLastTab" name="browser.tabs.closeWindowWithLastTab" type="bool"/>
<preference id="p.focusAfterCloseTab" name="extensions.stm.focusAfterCloseTab" type="int"/>
<preference id="p.browser.tabs.closeButtons" name="browser.tabs.closeButtons" type="int"/>
<preference id="p.showHistoryMenu" name="extensions.stm.showHistoryMenu" type="bool"/>
<preference id="p.historyMenuEntries" name="browser.sessionstore.max_tabs_undo" type="int"/>
<preference id="p.historyButtonShape" name="extensions.stm.historyButtonShape" type="int"/>
<preference id="p.browser.link.open_newwindow" name="browser.link.open_newwindow" type="int"/>
<preference id="p.browser.link.open_newwindow.restriction" name="browser.link.open_newwindow.restriction" type="int"/>
<preference id="p.browser.tabs.loadDivertedInBackground" name="browser.tabs.loadDivertedInBackground" type="bool"/>
<preference id="p.urlbarListFontSize" name="extensions.stm.urlbarListFontSize" type="int"/>
<preference id="p.browser.urlbar.maxRichResults" name="browser.urlbar.maxRichResults" type="int"/>
<preference id="p.showLoadSelectMenu" name="extensions.stm.showLoadSelectMenu" type="bool"/>
<preference id="p.statusbarIcon" name="extensions.stm.statusbarIcon" type="bool"/>
<preference id="p.toolMenuItem" name="extensions.stm.toolMenuItem" type="bool"/>
</preferences>
<tabbox id="pane1.tabbox">
<tabs>
<tab label="&tab1.label;"/>
<tab label="&tab2.label;"/>
<tab label="&tab3.label;"/>
</tabs>
<tabpanels>
<tabpanel id="tabpanel1" orient="vertical">
<groupbox>
<caption label="&tab1.tabopen.caption;" class="mtitle"/>
<checkbox id="e.openURLBarInNewTab" preference="p.openURLBarInNewTab" label="&openURLBarInNewTab.label;" oncommand="stmPref.onOpenInNewTab();"/>
<checkbox id="e.openBHSInNewTab" preference="p.openBHSInNewTab" label="&openBHSInNewTab.label;" oncommand="stmPref.onOpenInNewTab();"/>
<checkbox id="e.newTabForeBack" preference="p.browser.tabs.loadBookmarksInBackground" label="&browser.tabs.loadBookmarksInBackground.label;" class="indent"/>
<checkbox id="e.openInBlankTab" preference="p.openInBlankTab" label="&openInBlankTab.label;"/>
<separator class="thin"/>
<!--menu : open link in fore or background -->
<hbox align="center">
<label value="&pagelock.loadInForeOrBackgroud.label;"/>
<menulist preference="p.loadInBackground">
<menupopup>
<menuitem value="false" label="&ff.loadInForeground.label;" />
<menuitem value="true" label="&ff.loadInBackground.label;" />
</menupopup>
</menulist>
</hbox>
<hbox align="center">
<label value="&newTabPosition.label;"/>
<menulist preference="p.newTabPosition" tooltip="newTabPosition.tooltip">
<menupopup>
<menuitem value="0" label="&newTabPosition.default;" />
<menuitem value="1" label="&newTabPosition.nearRight;" />
<menuitem value="2" label="&newTabPosition.farRight;" />
<menuitem value="3" label="&newTabPosition.rightest;" />
</menupopup>
</menulist>
</hbox>
<checkbox preference="p.newTabPosBackTabOnly" label="&newTabPosBackTabOnly.label;" class="indent"/>
</groupbox>
<groupbox>
<caption label="&tab1.tabbar.caption;" class="mtitle"/>
<hbox align="center">
<label value="&tabBarPosition.label;" class="rtext"/>
<menulist preference="p.tabBarPosition">
<menupopup>
<menuitem value="0" label="&tabBarPosition.top;"/>
<menuitem value="1" label="&tabBarPosition.bottom;"/>
</menupopup>
</menulist>
<spacer flex="1"/>
<label value="&newTabBtnPos.label;" class="rtext"/>
<menulist preference="p.newTabBtnPos">
<menupopup>
<menuitem value="0" label="&newTabBtnPos.0;"/>
<menuitem value="1" label="&newTabBtnPos.1;"/>
<menuitem value="2" label="&newTabBtnPos.2;"/>
</menupopup>
</menulist>
</hbox>
<hbox align="center">
<label value="&tabBarTabMinWidth.label;"/>
<textbox id="e.tabBarTabMinWidth" preference="p.tabBarTabMinWidth" type="number" increment="1" size="2"/>
</hbox>
<checkbox preference="p.tabBarMultiRows" label="&tabBarMultiRows.label;"/>
</groupbox>
</tabpanel>
<tabpanel id="tabpanel2" orient="vertical">
<groupbox>
<caption label="&tab2.tabclose.caption;" class="mtitle"/>
<checkbox preference="p.doubleClickRemoveTab" label="&doubleClickRemoveTab.label;" />
<checkbox preference="p.showCloseRightTabs" label="&showCloseRightTabs.label;" />
<checkbox preference="p.showCloseLeftTabs" label="&showCloseLeftTabs.label;" />
<checkbox preference="p.browser.tabs.closeWindowWithLastTab" label="&browser.tabs.closeWindowWithLastTab.label;"/>
<separator class="thin"/>
<grid>
<rows>
<row align="center">
<label value="&focusAfterCloseTab.label;" class="rtext"/>
<menulist preference="p.focusAfterCloseTab">
<menupopup>
<menuitem value="0" label="&focusAfterCloseTab.0;" />
<menuitem value="1" label="&focusAfterCloseTab.1;" />
<menuitem value="2" label="&focusAfterCloseTab.2;" />
<menuitem value="3" label="&focusAfterCloseTab.3;" />
<menuitem value="4" label="&focusAfterCloseTab.4;" />
<menuitem value="5" label="&focusAfterCloseTab.5;" />
<menuitem value="6" label="&focusAfterCloseTab.6;" />
<menuitem value="7" label="&focusAfterCloseTab.7;" />
<menuitem value="8" label="&focusAfterCloseTab.8;" />
</menupopup>
</menulist>
</row>
<row align="center">
<label value="&browser.tabs.closeButtons.label;" class="rtext"/>
<menulist preference="p.browser.tabs.closeButtons">
<menupopup>
<menuitem value="0" label="&browser.tabs.closeButtons0;" />
<menuitem value="1" label="&browser.tabs.closeButtons1;" />
<menuitem value="2" label="&browser.tabs.closeButtons2;" />
<menuitem value="3" label="&browser.tabs.closeButtons3;" />
</menupopup>
</menulist>
</row>
</rows>
</grid>
</groupbox>
<!-- Recnetly Closed Tabs -->
<groupbox>
<caption label="&history.caption.label;" class="mtitle"/>
<hbox align="center">
<checkbox preference="p.showHistoryMenu" label="&history.topmenu.label;"/>
<label value="&history.maxtabs.label;" flex="1" class="rtext"/>
<textbox preference="p.historyMenuEntries" type="number" increment="1" size="2"/>
</hbox>
<hbox align="center">
<label value="&history.button.label;"/>
<menulist preference="p.historyButtonShape">
<menupopup>
<menuitem value="0" label="&history.buttonShape.0;" />
<menuitem value="1" label="&history.buttonShape.1;" />
</menupopup>
</menulist>
<button label="&history.button;" oncommand="stmPref.toggleButton('stm-historybutton');"/>
</hbox>
</groupbox>
</tabpanel>
<tabpanel id="tabpanel3" orient="vertical">
<!--ff : window start -->
<groupbox>
<caption label="&newwindow.caption;" class="mtitle"/>
<grid>
<rows>
<row align="center">
<label value="&browser.link.open_newwindow.label;" class="rtext"/>
<menulist preference="p.browser.link.open_newwindow">
<menupopup>
<menuitem value="1" label="&browser.link.open_newwindow1;" />
<menuitem value="2" label="&browser.link.open_newwindow2;" />
<menuitem value="3" label="&browser.link.open_newwindow3;" />
</menupopup>
</menulist>
</row>
<row align="center">
<label value="&browser.link.open_newwindow.restriction.label;" class="rtext" />
<menulist preference="p.browser.link.open_newwindow.restriction">
<menupopup>
<menuitem value="0" label="&browser.link.open_newwindow.restriction0;" />
<menuitem value="1" label="&browser.link.open_newwindow.restriction1;" />
<menuitem value="2" label="&browser.link.open_newwindow.restriction2;" />
</menupopup>
</menulist>
</row>
<row align="center">
<label value="&browser.tabs.loadDivertedInBackground.label;" class="rtext"/>
<menulist preference="p.browser.tabs.loadDivertedInBackground">
<menupopup>
<menuitem value="true" label="&browser.tabs.loadDivertedInBackground.true;" />
<menuitem value="false" label="&browser.tabs.loadDivertedInBackground.false;" />
</menupopup>
</menulist>
</row>
</rows>
</grid>
</groupbox>
<!--ff : window end -->
<groupbox>
<caption label="&urlbar.caption;" class="mtitle"/>
<grid>
<rows>
<row align="center">
<label value="&urlbarListFontSize.label;" class="rtext"/>
<menulist preference="p.urlbarListFontSize">
<menupopup>
<menuitem value="0" label="&urlbarListFontSize.default;" />
<menuitem value="1" label="1" />
<menuitem value="2" label="2" />
<menuitem value="3" label="3" />
<menuitem value="4" label="4" />
<menuitem value="5" label="5" />
<menuitem value="6" label="6" />
<menuitem value="7" label="7" />
</menupopup>
</menulist>
</row>
<row align="center">
<label value="&browser.urlbar.maxRichResults.label;" class="rtext"/>
<textbox preference="p.browser.urlbar.maxRichResults" type="number" min="-1" size="1"/>
</row>
</rows>
</grid>
</groupbox>
<separator class="thin"/>
<checkbox preference="p.showLoadSelectMenu" label="&showLoadSelectMenu.label;"/>
</tabpanel>
</tabpanels>
</tabbox>
<separator class="thin"/>
<hbox>
<checkbox preference="p.statusbarIcon" label="&statusbarIcon.label;"/>
<checkbox preference="p.toolMenuItem" label="&toolMenuItem.label;"/>
</hbox>
<separator/>
<separator/>
<separator/>
<!-- tooltips -->
<popupset>
<tooltip id="newTabPosition.tooltip" noautohide="true">
<description value="&newTabPosition.tooltip1;"/>
<description value="&newTabPosition.tooltip2;"/>
</tooltip>
</popupset>
</prefpane>
<prefpane id="pane2"
label="&pane2.title;"
image="chrome://supertabmode/skin/pref24_2.png">
<preferences>
<preference id="p.pagelock.enable" name="extensions.stm.pagelock.enable" type="bool"/>
<preference id="p.pagelock.hotkey" name="extensions.stm.pagelock.mousekey" type="int"/>
<preference id="p.loadInBackground" name="browser.tabs.loadInBackground" type="bool"/>
<preference id="p.pagelock.enableTabColor" name="extensions.stm.pagelock.enableTabColor" type="bool"/>
<preference id="p.pagelock.tabColor" name="extensions.stm.pagelock.tabColor" type="string"/>
<preference id="p.pagelock.enableTabTxtColor" name="extensions.stm.pagelock.enableTabTxtColor" type="bool"/>
<preference id="p.pagelock.tabTxtColor" name="extensions.stm.pagelock.tabTxtColor" type="string"/>
<preference id="p.pagelock.showTabMenu" name="extensions.stm.pagelock.showTabMenu" type="bool"/>
<preference id="p.pagelock.showStatusbarMenu" name="extensions.stm.pagelock.showStatusbarMenu" type="bool"/>
</preferences>
<groupbox>
<caption>
<!--checkbox : pagelock enable -->
<checkbox id="e.pagelock.enable" label="&pagelock.enable.label;" preference="p.pagelock.enable" oncommand="stmPref.onPagelockEnable(this);" class="mtitle"/>
</caption>
<vbox class="indent">
<groupbox>
<caption label="&shortcuts.caption;" class="stitle"/>
<grid>
<rows>
<!--menu : hotkey to toggle pagelock -->
<row align="center">
<label value="&shortcuts.PLkeyboard.label;" observes="b.pagelock.enable" class="rtext"/>
<label id="e.pagelock.hotkey" observes="b.pagelock.enable" class="ctext" />
<hbox>
<button label="&shortcuts.PLkeyboard.button;" oncommand="stmPref.changeHotkey('e.pagelock.hotkey');" observes="b.pagelock.enable"/>
<spacer flex="1"/>
</hbox>
</row>
<row align="center">
<label value="&shortcuts.mouse.label;" observes="b.pagelock.enable" class="rtext"/>
<menulist preference="p.pagelock.hotkey" observes="b.pagelock.enable" class="ctext">
<menupopup>
<menuitem value="0" label="&shortcuts.mouse.ctrl.lable;" />
<menuitem value="1" label="&shortcuts.mouse.shift.lable;" />
</menupopup>
</menulist>
<label value="&shortcuts.mouse.label2;" observes="b.pagelock.enable" class="ctext"/>
</row>
</rows>
</grid>
</groupbox>
<groupbox>
<caption label="&tabcolor.caption;" class="stitle"/>
<grid>
<columns>
<!--checkbox : tab color label-->
<column>
<checkbox id="e.pagelock.enableTabColor" label="&pagelock.enableTabColor.label;" preference="p.pagelock.enableTabColor" observes="b.pagelock.enable" oncommand="stmPref.onPLEnableTabColor(this);"/>
<checkbox id="e.pagelock.enableTabTxtColor" label="&pagelock.enableTabTxtColor.label;" preference="p.pagelock.enableTabTxtColor" observes="b.pagelock.enable" oncommand="stmPref.onPLEnableTabTxtColor(this);"/>
</column>
<!--checkbox : enable tab color -->
<column>
<colorpicker type="button" id="e.pagelock.tabColor" preference="p.pagelock.tabColor" />
<colorpicker type="button" id="e.pagelock.tabTxtColor" preference="p.pagelock.tabTxtColor" />
</column>
</columns>
</grid>
</groupbox>
<!--checkbox : add Tab Menu -->
<groupbox>
<caption label="&MenuAndBar.caption;" class="stitle"/>
<rows>
<row>
<checkbox label="&pagelock.showTabMenu.label;" preference="p.pagelock.showTabMenu" observes="b.pagelock.enable"/>
<checkbox label="&pagelock.showStatusbarMenu.label;" preference="p.pagelock.showStatusbarMenu" observes="b.pagelock.enable"/>
</row>
</rows>
<!--button : toggle toolbar button -->
<grid>
<rows>
<row align="center">
<label value="&pagelock.toggleToolbarButton.label;" observes="b.pagelock.enable" />
<button label="&pagelock.toggleToolbarButton;" oncommand="stmPref.toggleButton('stm-togglebutton');" observes="b.pagelock.enable"/>
</row>
</rows>
</grid>
</groupbox>
<!--button : pagelock list manager -->
<row align="center">
<label value="&pagelock.listManager.label;" observes="b.pagelock.enable" />
<button label="&pagelock.listManager;" oncommand="stmC.openListManager();" observes="b.pagelock.enable"/>
</row>
</vbox>
</groupbox>
<separator/>
<separator/>
</prefpane>
<prefpane id="pane3"
label="&pane3.title;"
image="chrome://supertabmode/skin/pref24_3.png">
<preferences>
<preference id="p.block.enable" name="extensions.stm.block.enable" type="bool"/>
<preference id="p.block.blockScope" name="extensions.stm.block.blockScope" type="int"/>
<preference id="p.block.stopOnTabSwitch" name="extensions.stm.block.stopOnTabSwitch" type="bool"/>
<preference id="p.block.showTabMenu" name="extensions.stm.block.showTabMenu" type="bool"/>
<preference id="p.block.showStatusbarMenu" name="extensions.stm.block.showStatusbarMenu" type="bool"/>
<preference id="p.bosskey.enable" name="extensions.stm.bosskey.enable" type="bool"/>
<preference id="p.bosskey.minimizeToTray" name="extensions.stm.bosskey.minimizeToTray" type="bool"/>
<preference id="p.bosskey.minimizeAllToTray" name="extensions.stm.minimizeAllToTray" type="bool"/>
</preferences>
<groupbox>
<caption>
<!--checkbox : block enable -->
<checkbox id="e.block.enable" label="&block.enable.label;" preference="p.block.enable" oncommand="stmPref.onBlockEnable(this);" class="mtitle"/>
</caption>
<label value="&block.description;" class="bluetext"/>
<vbox class="indent">
<row align="center">
<label value="&block.blockScope.label;" observes="b.block.enable"/>
<menulist preference="p.block.blockScope" observes="b.block.enable" tooltip="blockScope.tooltip">
<menupopup>
<menuitem value="0" label="&block.blockScope.0;" />
<menuitem value="1" label="&block.blockScope.1;" />
<menuitem value="2" label="&block.blockScope.2;" />
</menupopup>
</menulist>
</row>
<groupbox>
<caption label="&block.toggleblock.caption;" class="stitle"/>
<grid>
<rows>
<!--menu : hotkey to toggle block -->
<row align="center">
<label value="&block.keyboard;" observes="b.block.enable" class="rtext"/>
<hbox align="center">
<label id="e.block.hotkey" observes="b.block.enable" class="ctext" />
<button label="&block.keyboard.button;" oncommand="stmPref.changeHotkey('e.block.hotkey');" observes="b.block.enable"/>
</hbox>
</row>
<row>
<label value="&block.mousekey.label;" observes="b.block.enable" class="rtext"/>
<label value="&block.mousekey;" observes="b.block.enable" class="ctext" />
</row>
</rows>
</grid>
<separator class="thin"/>
<row>
<checkbox id="e.block.stopOnTabSwitch" label="&block.stopOnTabSwitch;" preference="p.block.stopOnTabSwitch" observes="b.block.enable"/>
</row>
</groupbox>
<!--menu : showTabMenu showStatusbarMenu -->
<row>
<checkbox id="e.block.showTabMenu" label="&block.showTabMenu.label;" preference="p.block.showTabMenu" observes="b.block.enable"/>
<checkbox id="e.block.showStatusbarMenu" label="&block.showStatusbarMenu.label;" preference="p.block.showStatusbarMenu" observes="b.block.enable"/>
</row>
</vbox>
</groupbox>
<!--bosskey -->
<groupbox>
<caption>
<checkbox id="e.bosskey.enable" label="&bosskey.enable.label;" tooltip="bosskey.tooltip" preference="p.bosskey.enable" oncommand="stmPref.onBosskeyEnable(this);" class="mtitle"/>
</caption>
<vbox class="indent">
<grid>
<rows>
<row align="center">
<label value="&bosskey.hidekey.label;" observes="b.bosskey.enable" class="rtext"/>
<hbox align="center">
<label id="e.bosskey.hidekey" observes="b.bosskey.enable" class="ctext" />
<spacer flex="1"/>
<button label="&bosskey.hidekey.button.label;" oncommand="stmPref.changeHotkey('e.bosskey.hidekey');" observes="b.bosskey.enable"/>
</hbox>
</row>
<row align="center">
<label value="&bosskey.showkey.label;" observes="b.bosskey.enable" class="rtext"/>
<hbox align="center">
<label id="e.bosskey.showkey" observes="b.bosskey.enable" class="ctext" />
<spacer flex="1"/>
<button label="&bosskey.showkey.button.label;" oncommand="stmPref.changeHotkey('e.bosskey.showkey');" observes="b.bosskey.enable"/>
</hbox>
</row>
</rows>
</grid>
<separator class="thin"/>
<row>
<checkbox id="e.bosskey.minimizeToTray" label="&bosskey.minimizeToTray.label;" preference="p.bosskey.minimizeToTray" observes="b.bosskey.enable"/>
</row>
</vbox>
</groupbox>
<checkbox label="&minimizeAllToTray.label;" preference="p.bosskey.minimizeAllToTray" />
<separator class="thin"/>
<separator/>
<separator/>
<!-- tooltips -->
<popupset>
<tooltip id="blockScope.tooltip" noautohide="true">
<description value="&block.blockScope.tooltip1;"/>
<description value="&block.blockScope.tooltip2;"/>
</tooltip>
<tooltip id="bosskey.tooltip" noautohide="true">
<description value="&bosskey.description;"/>
</tooltip>
</popupset>
</prefpane>
<prefpane id="pane4"
label="&pane4.title;"
image="chrome://supertabmode/skin/pref24_4.png">
<preferences>
<preference id="p.browser.cache.disk.enable" name="browser.cache.disk.enable" type="bool"/>
<preference id="p.browser.cache.disk.capacity" name="browser.cache.disk.capacity" type="int"/>
<preference id="p.browser.cache.memory.enable" name="browser.cache.memory.enable" type="bool"/>
<preference id="p.browser.cache.offline.enable" name="browser.cache.offline.enable" type="bool"/>
<preference id="p.browser.cache.offline.capacity" name="browser.cache.offline.capacity" type="int"/>
</preferences>
<!--ff : cache start -->
<groupbox>
<caption label="&ff.cache.caption;" class="mtitle"/>
<grid>
<rows>
<row align="center">
<checkbox preference="p.browser.cache.disk.enable" label="&browser.cache.disk.enable.label;" oncommand="stmPref.onCacheDiskEnable(this);" />
<label value="&browser.cache.disk.capacity.label;" />
<textbox preference="p.browser.cache.disk.capacity" type="number" increment="1000" size="6"/>
</row>
<hbox align="center">
<button label="&diskcache.path.label;" type="menu" observes="b.cachedisk.enable" style="min-width:2px; max-height:1px;">
<menupopup>
<menuitem label="&diskcache.path.set;" oncommand="stmPref.setUserCacheDir('diskcache.pos', 'hidden.hbox');"/>
<menuitem label="&diskcache.path.default;" oncommand="stmPref.setDefaultCacheDir('diskcache.pos', 'hidden.hbox');"/>
</menupopup>
</button>
<label id="diskcache.pos" flex="1" crop="center" observes="b.cachedisk.enable" class="bluetext"/>
</hbox>
<hbox id="hidden.hbox" align="center" hidden="true" style="background-color:rgb(255,255,225);">
<description value="&diskcache.restart.label;" flex="1"/>
<button label="&diskcache.restart.button;" oncommand="stmPref.restartApp();"/>
<button oncommand="stmPref.hideRestart('hidden.hbox');" class="messageCloseButton" style="min-width:2px;background-color:rgb(255,255,225);"/>
</hbox>
<row>
<checkbox preference="p.browser.cache.memory.enable" label="&browser.cache.memory.enable.label;"/>
</row>
<row align="center">
<checkbox preference="p.browser.cache.offline.enable" label="&browser.cache.offline.enable.label;"/>
<label value="&browser.cache.offline.capacity.label;" />
<textbox preference="p.browser.cache.offline.capacity" type="number" increment="1000" size="6"/>
</row>
</rows>
</grid>
</groupbox>
<separator/>
<separator/>
<!--ff : cache end -->
</prefpane>
</prefwindow>